#! /usr/bin/bash
if [ $R_LIBS ];then
  echo "安装到特殊路径"
  Rscript -e "install.packages('xlsx',repos='http://mirror.bjtu.edu.cn/cran/',dependencies=TRUE,lib='$R_LIBS')"
else
  echo "安装到默认路径"
  Rscript -e "install.packages('xlsx',repos='http://mirror.bjtu.edu.cn/cran/',dependencies=TRUE)"
fi
